Task Merging and Replication using Graph Rewriting

نویسندگان

  • Peter Aronsson
  • Peter Fritzson
چکیده

Several approaches for handling the multi-processor scheduling problem have been presented over the last decades, such as scheduling techniques, clustering techniques and task merging techniques. However, the increasing gap between processor speed and communication speed demand more accurate models of parallel computation and efficient algorithms to work under the restrictions of these models. This paper presents a method for merging tasks in a task graph in order to increase its granularity, i.e. the ratio between communication and execution cost of the task graph. The parallel computation model used is a simplified version of the LogP model, where only the communication speed and the communication latency, is considered. The method uses a set of graph rewrite rules, where each rule merges two or more tasks into a single task. The rules are applied as in a graph rewrite system, until no further transformations are possible. The rewrite rules are defined for a few simple patterns for merging tasks. For instance, the simplest one, called singlechildmerge, states that two tasks connected by an edge can be merged if the condition that the parent task only has this one child and the child task only has one parent is fulfilled. Another example is a rewrite rule involving task duplication, where a split node is replicated and merged into each of its children. The task merging approach using graph rewrite rules has been tested on automatically generated simulation code from an equation based simulation language called Modelica. The task graphs of the tested examples are reduced substantially in size, both increasing the granularity of the task graph and decreasing the demands on an efficient scheduling algorithm.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Task Merging Technique for Parallelization of Modelica Models

This paper presents improvements on techniques of merging tasks in task graphs generated in the ModPar automatic parallelization module of the OpenModelica compiler. Automatic parallelization is performed on Modelica models by building data dependency graphs called task graphs from the model equations. To handle large task graphs with fine granularity, i.e. low ratio of execution and communicat...

متن کامل

Algebraic Graph Transformations for Merging Ontologies

The conception of an ontology is a complex task influenced by numerous factors like the point of view of the authors or the level of details. Consequently, several ontologies have been developed to model identical or related domains leading to partially overlapping representations. This divergence of conceptualization requires the study of ontologies merging in order to create a common reposito...

متن کامل

Map-merging in Multi-robot Simultaneous Localization and Mapping Process Using Two Heterogeneous Ground Robots

In this article, a fast and reliable map-merging algorithm is proposed to produce a global two dimensional map of an indoor environment in a multi-robot simultaneous localization and mapping (SLAM) process. In SLAM process, to find its way in this environment, a robot should be able to determine its position relative to a map formed from its observations. To solve this complex problem, simultan...

متن کامل

Incorporating Transaction Semantics to Reduce Reprocessing Overhead in Replicated Mobile Data Applications

Update anywhere-anytime-anyway transactional replication has unstable behavior as the workload scales up. To reduce this problem, a two-tier replication algorithm is proposed in [GHOS96] that allows mobile applications to propose tentative transactions that are later applied to a master copy. However, it can suffer from heavy reprocessing overhead in many circumstances. In this paper, we presen...

متن کامل

A Benchmark for Ontologies Merging Assessment

In the last years, ontology modeling became popular and thousands of ontologies covering multiple fields of application are now available. However, as multiple ontologies might be available on the same or related domain, there is an urgent need for tools to compare, match, merge and assess ontologies. Ontology matching, which consists in aligning ontology, has been widely studied and benchmarks...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007